package study.designpattern.adapter.impl;

import java.util.List;

import study.designpattern.adapter.LogDbOperateApi;
import study.designpattern.adapter.bean.LogModel;
/**
 * Db存储日志的实现，简单示意
 * @author taowei20061122@163.com
 *
 */
public class LogDbOperate implements LogDbOperateApi {

	@Override
	public void createLog(LogModel lm) {
		System.out.println("createLog LogModel="+lm);

	}

	@Override
	public void updateLog(LogModel lm) {
		System.out.println("updateLog LogModel="+lm);
	}

	@Override
	public void removeLog(LogModel lm) {
		System.out.println("removeLog LogModel="+lm);
	}

	@Override
	public List<LogModel> getAllLog() {
		System.out.println("getAllLog...");
		return null;
	}

}
